﻿@using UcAsp.Net.Model;
@using UcAsp.Net.BLL;
@using UcAsp.Net.Comm
@{
    var Categories = (UcAsp.Net.Model.Categories)ViewData["Categories"];
    ViewBag.Title = Categories.CategorieName;
    ViewBag.KeyWords = Categories.KeyWords;
    ViewBag.Description = Utils.RemoveHtml(Categories.Remark);
}
@model List<UcAsp.Net.Model.ArticelsViews>
@{
    Layout = "~/themes/bootstrap/Shared/_Layout.cshtml";
}
<div class="container-fluid">
    @foreach (UcAsp.Net.Model.ArticelsViews views in Model)
    { 
                
        <div class="teacher">
            <a href="/@Categories.ShowPath/@if (string.IsNullOrEmpty(views.ShowPath))
                                           {@views.ID<text>.shtml</text>}
                                           else
                                           {@views.ShowPath<text>.shtml</text>}">
                <img src="@views.IconUrl" border="0" alt="@views.Title" /></a>
            <div class="teacher_name" style="text-align: center">
                <a href="/@Categories.ShowPath/@if (string.IsNullOrEmpty(views.ShowPath))
                                               {@views.ID<text>.shtml</text>}
                                               else
                                               {@views.ShowPath<text>.shtml</text>}">
                    @(UcAsp.Net.Comm.Utils.ClearPart(views.Title, 20))
                </a>
            </div>
        </div>
                
                
    }

</div>
